package com.example.dotavideo;

import java.util.ArrayList;

import com.example.dotavideo.adapter.ChildListAdapter;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ListView;

public class ChildTypeActivity extends Activity{
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    
    setContentView(R.layout.activity_child_type);
    findViewById(R.id.btn_back).setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View arg0) {
        ChildTypeActivity.this.finish();
      }
    });
    
    ListView listView = (ListView) findViewById(R.id.lv_child_type);
    
    ArrayList<String> list = getIntent().getStringArrayListExtra("childType");
    
//    ChildListAdapter adapter = new ChildListAdapter(this, list);
//    
//    listView.setAdapter(adapter);
//    
//    listView.setOnItemClickListener(new OnItemClickListener() {
//      @Override
//      public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
//        
//      }
//      
//    });
    
    
  }
  
  
  
}
